package com.cr.admin.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cr.admin.system.pojo.dto.SysRoleQuery;
import com.cr.admin.system.pojo.entity.SysRole;

import java.util.List;

public interface SysRoleMapper extends BaseMapper<SysRole> {

    List<String> selectRolesByUserId(Long userId);

    List<SysRole> selectSysRoleList(SysRoleQuery query);

}
